// Lottery2View.cpp : implementation of the CLottery2View class
//

#include "stdafx.h"
#include "Lottery2.h"

#include "Lottery2Doc.h"
#include "Lottery2View.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CLottery2View

IMPLEMENT_DYNCREATE(CLottery2View, CView)

BEGIN_MESSAGE_MAP(CLottery2View, CView)
END_MESSAGE_MAP()

// CLottery2View construction/destruction

CLottery2View::CLottery2View()
{
	// TODO: add construction code here

}

CLottery2View::~CLottery2View()
{
}

BOOL CLottery2View::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

// CLottery2View drawing

void CLottery2View::OnDraw(CDC* /*pDC*/)
{
	CLottery2Doc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	if (!pDoc)
		return;

	// TODO: add draw code for native data here
}


// CLottery2View diagnostics

#ifdef _DEBUG
void CLottery2View::AssertValid() const
{
	CView::AssertValid();
}

void CLottery2View::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CLottery2Doc* CLottery2View::GetDocument() const // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLottery2Doc)));
	return (CLottery2Doc*)m_pDocument;
}
#endif //_DEBUG


// CLottery2View message handlers
